package com.jhgsys.internal.peccancy.service;

import com.jhgsys.internal.peccancy.entity.PeccancyClauseRuleRecord;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 奖惩规则变更记录 Service接口
 *
 * @author admin
 * @date 2024-08-08 13:20:30
 */
public interface IPeccancyClauseRuleRecordService extends IService<PeccancyClauseRuleRecord> {
    /**
     * 查询（分页）
     * @author admin
     * @date 2024-08-08 13:20:30
     * @param request QueryRequest
     * @param peccancyClauseRuleRecord peccancyClauseRuleRecord
     * @return IPage<PeccancyClauseRuleRecord>
     */
    IPage<PeccancyClauseRuleRecord> findPeccancyClauseRuleRecordPage(QueryRequest request, PeccancyClauseRuleRecord peccancyClauseRuleRecord);

    /**
     * 查询（所有）
     * @author admin
     * @date 2024-08-08 13:20:30
     * @param peccancyClauseRuleRecord peccancyClauseRuleRecord
     * @return List<PeccancyClauseRuleRecord>
     */
    List<PeccancyClauseRuleRecord> findPeccancyClauseRuleRecords(PeccancyClauseRuleRecord peccancyClauseRuleRecord);

    /**
    * 根据ID查询
    * @author admin
    * @date 2024-08-08 13:20:30
    * @param id
    * @return PeccancyClauseRuleRecord
    */
    PeccancyClauseRuleRecord findPeccancyClauseRuleRecordById(String id);

    /**
     * 新增
     * @author admin
     * @date 2024-08-08 13:20:30
     * @param peccancyClauseRuleRecord peccancyClauseRuleRecord
     */
    void createPeccancyClauseRuleRecord(PeccancyClauseRuleRecord peccancyClauseRuleRecord);

    /**
     * 修改
     * @author admin
     * @date 2024-08-08 13:20:30
     * @param peccancyClauseRuleRecord peccancyClauseRuleRecord
     */
    void updatePeccancyClauseRuleRecord(PeccancyClauseRuleRecord peccancyClauseRuleRecord);

    /**
     * 逻辑删除
     * @author admin
     * @date 2024-08-08 13:20:30
     * @param peccancyClauseRuleRecord peccancyClauseRuleRecord
     * @param peccancyClauseRuleRecordIds peccancyClauseRuleRecordIds
     */
    void deletePeccancyClauseRuleRecord(PeccancyClauseRuleRecord peccancyClauseRuleRecord,String peccancyClauseRuleRecordIds);

    /**
    * 物理删除
    * @author admin
    * @date 2024-08-08 13:20:30
    * @param peccancyClauseRuleRecordIds peccancyClauseRuleRecordIds
    */
    void physicallyDeletePeccancyClauseRuleRecord(String peccancyClauseRuleRecordIds);
}
